﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="CargoCars_Modify.aspx.cs" Inherits="WebUI.CargoCars.CargoCars_Modify" %>

<asp:Content ID ="Content1" ContentPlaceHolderID ="ContentPlaceHolder1" runat="server">
<table>
        <tr>
            <td colspan="2" style="height: 21px">
                <asp:Label ID="lblCargoCarsSN" runat="server" Text="车队编号："></asp:Label><asp:Label ID="lbCargoCarsSN"
                    runat="server"></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 106px">
                车队名称：</td>
            <td style="width: 101px">
                <asp:TextBox ID="txtCargoCarsName" runat="server" ForeColor="#404040"></asp:TextBox>
                
            </td>
              <td style="text-align:left;"><asp:RequiredFieldValidator ID="RFValidatorCargoCarsName" runat="server" ControlToValidate="txtCargoCarsName"
                    ErrorMessage="*">对不起！此项不能为空</asp:RequiredFieldValidator></td>
        </tr>
    <tr>
        <td style="width: 106px">
            车队负责人：</td>
        <td style="width: 101px; text-align: left">
            <asp:DropDownList ID="ddlDriverSn" runat="server" ForeColor="#404040">
            </asp:DropDownList></td>
    </tr>
        <tr>
            <td style="width: 106px">
                车队电话：</td>
            <td style="width: 101px">
                <asp:TextBox ID="txtCargoCarsTel" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                    <td style="text-align:left;"><asp:RegularExpressionValidator ID="REValidatorCargoCarsTel" runat="server" ControlToValidate="txtCargoCarsTel"
                    ErrorMessage="*" ValidationExpression="^(0[0-9]{2,3}\-)?([2-9][0-9]{6,7})+(\-[0-9]{1,4})?$">对不起！你输入的电话不正确</asp:RegularExpressionValidator>
                <asp:RequiredFieldValidator ID="RFValidatorCargoCarsTel" runat="server" ControlToValidate="txtCargoCarsTel"
                    ErrorMessage="*">对不起！此项不能为空</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                车队地址：</td>
            <td style="width: 101px">
                <asp:TextBox ID="txtCargoCarsAddress" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                    <td style="text-align:left;"><asp:RequiredFieldValidator ID="RFValidatorCargoCarsAddress" runat="server" ControlToValidate="txtCargoCarsAddress"
                    ErrorMessage="*">对不起！此项不能为空</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                车队等级：</td>
            <td style="width: 101px; text-align: left;">
                <asp:TextBox ID="txtCargoCarsGrade" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                    <td style="text-align:left;"><asp:RequiredFieldValidator ID="RFValidatorCargoCarsGrade" runat="server" ControlToValidate="txtCargoCarsGrade"
                    ErrorMessage="*">对不起！此项不能为空</asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="REValidatorCarriersSNLab" runat="server" ControlToValidate="txtCarriersSN"
                            ErrorMessage="*" ValidationExpression="\d*">对不起！你输入的不是数字</asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button ID="btnModify" runat="server" OnClick="btnModify_Click" Text="保存" ForeColor="#404040" />
                <asp:Button ID="btnReset" runat="server" OnClick="btnReset_Click" Text="重置" ForeColor="#404040" /></td>
        </tr>
    </table>
</asp:Content>
